a=list(map(eval,input().split()))
def my_match(lst):
    number=0
    for i in a:
        if i>99:
            number=number+1
    print(number)
my_match(a)
